package com.suse.service;

import com.suse.dto.EmployerDto;
import com.suse.pojo.Employer;
import com.suse.util.ResultVo;

import javax.servlet.http.HttpServletRequest;

public interface EmployerService {
    // 新增用户
    ResultVo add(Employer employer);
    // 修改用户
    ResultVo update(Employer employer);
    // 删除用户
    ResultVo del(Integer id);
    // 查询用户
    ResultVo select(EmployerDto dto);

    // 登录接口
    ResultVo login(Employer u, HttpServletRequest request);
}
